package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.time.LocalDateTime;

public interface OrderService {

    // 用户下单
    void submit(Order order);

    Page<Order> page(Integer pageNum, Integer pageSize, LocalDateTime beginTime, LocalDateTime endTime);
}
